package com.kele.base.common.constant;

/**
 * @Description:
 * @Author: Kele
 * @CreateDate: 2022/7/4 11:44
 * @Version:
 */
public enum ResponseResultCodeEnum {
    /*** 通用部分 ***/
    // 通用成功请求
    SUCCESS(200, "请求成功"),
    //通用失败请求
    FAIL(-1, "请求失败"),
    XXXX(2001, "XXXX");

    ResponseResultCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    /**
     * 响应状态码
     */
    private Integer code;
    /**
     * 响应信息
     */
    private String message;

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }


}
